!function(n,t){var i=t(n,n.document);n.lazySizes=i;"object"==typeof module&&module.exports&&(module.exports=i)}(window,function(n,t){"use strict";if(t.getElementsByClassName){var h,i,f=t.documentElement,e=n.Date,et=n.HTMLPictureElement,o="addEventListener",r="getAttribute",s=n[o],u=n.setTimeout,ot=n.requestAnimationFrame||u,d=n.requestIdleCallback,it=/^picture$/i,st=["load","error","lazyincluded","_lazyloaded"],p={},ht=Array.prototype.forEach,c=function(n,t){return p[t]||(p[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),p[t].test(n[r]("class")||"")&&p[t]},w=function(n,t){c(n,t)||n.setAttribute("class",(n[r]("class")||"").trim()+" "+t)},g=function(n,t){var i;(i=c(n,t))&&n.setAttribute("class",(n[r]("class")||"").replace(i," "))},l=function(n,t,i){var r=i?o:"removeEventListener";i&&l(n,t);st.forEach(function(i){n[r](i,t)})},a=function(n,i,r,u,f){var e=t.createEvent("Event");return r||(r={}),r.instance=h,e.initEvent(i,!u,!f),e.detail=r,n.dispatchEvent(e),e},nt=function(t,u){var f;!et&&(f=n.picturefill||i.pf)?(u&&u.src&&!t[r]("srcset")&&t.setAttribute("srcset",u.src),f({reevaluate:!0,elements:[t]})):u&&u.src&&(t.src=u.src)},v=function(n,t){return(getComputedStyle(n,null)||{})[t]},rt=function(n,t,r){for(r=r||n.offsetWidth;r49?function(){d(o,{timeout:t});t!==i.ricTimeout&&(t=i.ricTimeout)}:b(function(){u(o)},!0);return function(n){var i;(n=!0===n)&&(t=33);r||(r=!0,i=h-(e.now()-f),i<0&&(i=0),n||i<9?s():u(s,i))}},ut=function(n){var t,r,i=99,f=function(){t=null;n()},o=function(){var n=e.now()-r;n0)&&"visible"!=v(r,"overflow")&&(u=r.getBoundingClientRect(),e=st>u.left&&otu.top-1&&et500&&f.clientWidth>500?500:370:i.expand,y=v*i.expFactor,p=i.hFac,vt=null,yt2&&ft>2&&!t.hidden?(yt=y,d=0):yt=ft>1&&d>1&&k<6?v:si;n=a&&(et=o.top)<=ni&&(st=o.right)>=a*p&&(ot=o.left)<=gt&&(lt||st||ot||et)&&(i.loadHidden||ti(u[n]))&&(rt&&k<3&&!c&&(ft<3||d<4)||hi(u[n],e))){if(wt(u[n]),l=!0,k>9)break}else!l&&rt&&!s&&k<4&&d<4&&ft>2&&(at[0]||i.preloadAfterLoad)&&(at[0]||!c&&(lt||st||ot||et||"auto"!=u[n][r](i.sizesAttr)))&&(s=at[0]||u[n]);else wt(u[n]);s&&!l&&wt(s)}},p=ct(ii),ri=function(n){w(n.target,i.loadedClass);g(n.target,i.loadingClass);l(n.target,ui);a(n.target,"lazyloaded")},ci=b(ri),ui=function(n){ci({target:n.target})},li=function(n,t){try{n.contentWindow.location.replace(t)}catch(i){n.src=t}},ai=function(n){var t,u=n[r](i.srcsetAttr);(t=i.customMedia[n[r]("data-media")||n[r]("media")])&&n.setAttribute("media",t);u&&n.setAttribute("srcset",u)},vi=b(function(n,t,f,e,o){var s,h,v,c,p,b;(p=a(n,"lazybeforeunveil",t)).defaultPrevented||(e&&(f?w(n,i.autosizesClass):n.setAttribute("sizes",e)),h=n[r](i.srcsetAttr),s=n[r](i.srcAttr),o&&(v=n.parentNode,c=v&&it.test(v.nodeName||"")),b=t.firesLoad||"src"in n&&(h||s||c),p={target:n},b&&(l(n,pt,!0),clearTimeout(kt),kt=u(pt,2500),w(n,i.loadingClass),l(n,ui,!0)),c&&ht.call(v.getElementsByTagName("source"),ai),h?n.setAttribute("srcset",h):s&&!c&&(ei.test(n.nodeName)?li(n,s):n.src=s),o&&(h||c)&&nt(n,{src:s}));n._lazyRace&&delete n._lazyRace;g(n,i.lazyClass);y(function(){(!b||n.complete&&n.naturalWidth>1)&&(b?pt(p):k--,ri(p))},!0)}),wt=function(n){var f,t=fi.test(n.nodeName),e=t&&(n[r](i.sizesAttr)||n[r]("sizes")),u="auto"==e;(u||!rt)&&t&&(n[r]("src")||n.srcset)&&!n.complete&&!c(n,i.errorClass)&&c(n,i.lazyClass)||(f=a(n,"lazyunveilread").detail,u&&tt.updateElem(n,!0,n.offsetWidth),n._lazyRace=!0,k++,vi(n,f,u,e,t))},bt=function(){if(!rt){if(e.now()-dt<999)return void u(bt,999);var n=ut(function(){i.loadMode=3;p()});rt=!0;i.loadMode=3;p();s("scroll",function(){3==i.loadMode&&(i.loadMode=2);n()},!0)}};return{_:function(){dt=e.now();h.elements=t.getElementsByClassName(i.lazyClass);at=t.getElementsByClassName(i.lazyClass+" "+i.preloadClass);s("scroll",p,!0);s("resize",p,!0);n.MutationObserver?new MutationObserver(p).observe(f,{childList:!0,subtree:!0,attributes:!0}):(f[o]("DOMNodeInserted",p,!0),f[o]("DOMAttrModified",p,!0),setInterval(p,999));s("hashchange",p,!0);["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(n){t[o](n,p,!0)});/d$|^c/.test(t.readyState)?bt():(s("load",bt),t[o]("DOMContentLoaded",p),u(bt,2e4));h.elements.length?(ii(),y._lsFlush()):p()},checkElems:p,unveil:wt}}(),tt=function(){var n,f=b(function(n,t,i,r){var f,u,e;if(n._lazysizesWidth=r,r+="px",n.setAttribute("sizes",r),it.test(t.nodeName||""))for(f=t.getElementsByTagName("source"),u=0,e=f.length;u